package ${basePackage}.domain.${modelNameLowerCamel};

/**
 * Created by ${author} on ${date}.
 * 描述: 创建${modelName}实体的工厂类
 */

public class ${modelNameUpperCamel}Factory {

    /**
     * 创建${modelName}实体对象
     *
     * @return ${modelName}实体对象
     */
    public static I${modelNameUpperCamel} create${modelNameUpperCamel}(String name) {
        ${modelNameUpperCamel} ${modelNameLowerCamel} = new ${modelNameUpperCamel}();
        ${modelNameLowerCamel}.setName(name);
        return ${modelNameLowerCamel};
    }

}
